{extend name="public/base"/}
{block name="body"}
<div class="main-box clearfix">
	<header class="main-box-header clearfix">
		<div class="pull-left">
			<h2>批量导入 [{$data['title']|default='顶级菜单'}]</h2>
		</div>
	</header>
	<div class="main-box-body clearfix">
		<form id="form" action="{:url('import')}" method="post" class="form form-horizontal">
			<!-- 基础文档模型 -->
			<div class="form-group">
				<label class="col-lg-2 control-label">导入的内容</label>
				<div class="col-lg-10">
					<textarea name="tree" class="form-control" style="width:80%; height:160px;"></textarea>
					<span class="help-block"><b>导入格式：</b><br/>首页|Index/index|0|分组名称<br/>更新缓存|Index/clear|0|分组名称<br/>（请按照导入格式输入）</span>
				</div>
			</div>
			<div class="form-group">
				<div class="col-lg-offset-2 col-lg-10">
					<input type="hidden" name="id" value="{$info.id|default=''}">            
					<button class="btn btn-success submit-btn ajax-post" type="submit" target-form="form-horizontal">确 定</button>
					<button class="btn btn-danger btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
				</div>
			</div>
		</form>
	</div>
</div>
{/block}